const {nanoid} = require('nanoid')
const mongoose = require("mongoose");

const RoleSchema = new mongoose.Schema({
    name:{
        type:String,
        require:true
    },
    id:{
        type:Number,
        default:0
    },

})

module.exports = mongoose.model("role", RoleSchema, 'role')